package com.dd.dao;

import com.dd.pojo.User;
import com.dd.pojo.Vip;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

public interface UserMapper {

    User selectuser(@Param("uname") String uname, @Param("upwd") String upwd);

    int adduser(User user);

    User selectByname(String uname);

    int updateuser(User user);

    List<String> selectusername();


    User selectname(String name);

}
